package com.cs.bd.buychannel.buyChannel.bean;

import com.cs.bd.ad.AdSdkApi;

public class BuyChannelBean {

    private String mBuyChannel = "unknown_buychannel";
    private String mChannelFrom = "un_known";
    private String mFirstUserType = "organic";
    private int mSecondUserType = -1;
    private boolean isSuccessCheck = false;
    private String campaign = "null";
    private String mCampaignId = "null";

    public BuyChannelBean() {
    }

    public boolean isSuccessCheck() {
        return true;
    }

    public boolean isUserBuy() {
        if (AdSdkApi.calculateCDays(null, AdSdkApi.sParams.getInstalledTime()) > 3) {
            return true;
        }
        return false;
    }

    public boolean isWithCount() {
        return isUserBuy();
    }

    public boolean isOrganic() {
        return !isUserBuy();
    }

    public boolean isApkBuy() {
        return isUserBuy();
    }

    public int getSecondUserType() {
        return this.mSecondUserType;
    }

    public String getFirstUserType() {
        return this.mFirstUserType;
    }

    public String getChannelFrom() {
        return this.mChannelFrom;
    }

    public String getBuyChannel() {
        return this.mBuyChannel;
    }

    public String getCampaign() {
        return this.campaign;
    }

    public String getCampaignId() {
        return this.mCampaignId;
    }


}
